﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UcAdminSensorManager.ascx.cs" Inherits="TheHeGeo.Admin.AdminUc.UcAdminSensorManager" %>
<%@ Register assembly="DevExpress.Web.v14.2, Version=14.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web" tagprefix="dx" %>

<style type="text/css">
    .auto-style1 { width: 96px; }

    .auto-style2 { width: 516px; }
</style>
<div style="width: 98%">
    <div>
    </div>
    <div>
        <dx:ASPxGridView ID="grvData" runat="server" AutoGenerateColumns="False" Width="100%" KeyFieldName="MaSensor" OnInitNewRow="grvData_InitNewRow" OnParseValue="grvData_ParseValue" OnRowDeleting="grvData_RowDeleting" OnRowInserting="grvData_RowInserting" OnRowUpdating="grvData_RowUpdating">
            <Columns>
                <dx:GridViewDataTextColumn Caption="Mã sensor" FieldName="MaSensor" Name="MaSensor" VisibleIndex="1" ReadOnly="True">
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn Caption="Tên Sensor" FieldName="TenSensor" Name="TenSensor" VisibleIndex="2" ReadOnly="True">
                </dx:GridViewDataTextColumn>
                <dx:GridViewCommandColumn ShowEditButton="True" VisibleIndex="0" Width="20px">
                </dx:GridViewCommandColumn>
                <dx:GridViewDataMemoColumn Caption="Công thức" FieldName="CongThuc" Name="CongThuc" VisibleIndex="3">
                    <EditFormSettings CaptionLocation="Near" ColumnSpan="2" RowSpan="2" />
                </dx:GridViewDataMemoColumn>
                <dx:GridViewDataTextColumn Caption="Đơn vị" FieldName="DonVi" Name="DonVi" VisibleIndex="4">
                </dx:GridViewDataTextColumn>
            </Columns>
            <SettingsBehavior AutoFilterRowInputDelay="100" ConfirmDelete="True" />
            <SettingsPager PageSize="20">
            </SettingsPager>
            <Settings ShowFilterRow="True" ShowFilterRowMenu="True" />
            <SettingsText CommandDelete="Xóa" CommandEdit="Sửa" CommandNew="Thêm" ConfirmDelete="Bạn có muốn xóa bản ghi này?" />
        </dx:ASPxGridView>
    </div>
</div>